<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/Admin/hdjs/hdjs.css" />
    <title></title>
    <bootstrap/>
    <style type="text/css">
		table{
			color: #666;
		}
    </style>
    <css file="./css/css.css"/>
</head>
<body>
<div class="wrap">
    <div class="hd-title-header">添加分类</div>
    <form action="" method="post" class="form-inline hd-form">
        <table class="hd-table hd-table-form hd-form">
        	<tr>
                <td style="width: 50px;">所属类型</td>
                <td width="300">
                	<select name="type_tid" style="width: 170px;">
                		<foreach from="$attr" key="$k" value="$v">
                			<option value="{$v.tid}">{$v.tname}</option>
                		</foreach>
                	</select>
                </td>
            </tr>
            <tr>
                <td style="width: 50px;">所属分类</td>
                <td width="300">
                	<input type="hidden" name="pid" value="{$cate.cid}" />{$cate.cname}
                </td>
            </tr>
            <tr>
                <td style="width: 50px;">分类名称</td>
                <td width="300">
                	<input type="text" name="cname" value="" />
                </td>
            </tr>
            <tr>
                <td style="width: 50px;">排序</td>
                <td width="300">
                	<input type="text" name="csort" value="" />
                </td>
            </tr>
        </table>
         <input type="submit" class="hd-btn hd-btn-success" value="添加" style="margin-top:20px;margin-left:20px;"/>
    </form>
</div>
</body>
</html>